export default [
    {
        path: "/console",
        component: () => import("../../layouts/Console.vue"),
        children: [
            {
                path: "index",
                name: "console",
                component: () => import("../../pages/console/dashboard_chart.vue"),
                meta: {
                    title: "欢迎使用",
                },
            },
            {
                path: "dashboard_chart",
                name: "dashboard_chart",
                component: () => import("../../pages/console/dashboard_chart.vue"),
                meta: {
                    title: "图表风格",
                },
            },
            {
                path: "dashboard_home",
                name: "dashboard_home",
                component: () => import("../../pages/console/dashboard_home.vue"),
                meta: {
                    title: "主页风格",
                },
            },
            {
                path: "role_management",
                name: "role_management",
                component: () => import("../../pages/console/role_management.vue"),
                meta: {
                    title: "角色管理",
                },
            },
            {
                path: "perm_management",
                name: "perm_management",
                component: () => import("../../pages/console/perm_management.vue"),
                meta: {
                    title: "权限管理",
                },
            },
            {
                path: "admin_management",
                name: "admin_management",
                component: () => import("../../pages/console/admin_management.vue"),
                meta: {
                    title: "账号管理",
                },
            },
            {
                path: "*",
                name: "error",
                component: () => import("../../views/error.vue"),
                meta: {
                    title: "页面没有找到",
                    code: 404,
                },
            },
        ],
    },
];
